package com.example.abstractfactory8;

import com.example.abstractfactory8.factory.Car;

/**
 * @version 1.0.0
 * @className: Bus
 * @description: 具体产品角色 - 开宝马车
 * @author: zhangjunfa
 * @date: 2022/6/10 14:46
 */
public class Bus implements Car {
    /**
     * 上班
     */
    @Override
    public void gotoWork() {
        System.out.println("开宝马车去上班");
    }
}
